package com.xiaoran.springcloud.server;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixHandler implements PaymentHystrixService {
    public String paymentinfo_ok(int id) {
        return "PaymentHystrixHandler 这是我们直接执行的方案：paymentinfo_ok";
    }

    public String paymentinfo_timeout(int id) {
        return "PaymentHystrixHandler 这是我们直接执行的方案：paymentinfo_timeout";
    }
}
